﻿using System.Transactions;

namespace Huioo.Learning.Agile.PayrollUI
{
    internal class AddHourlyEmployee : Transaction
    {
        private int empId;
        private string name;
        private string address;
        private double hourlyRate;
        private PayrollDatabase database;

        public AddHourlyEmployee(int empId, string name, string address, double hourlyRate, PayrollDatabase database)
        {
            this.empId = empId;
            this.name = name;
            this.address = address;
            this.hourlyRate = hourlyRate;
            this.database = database;
        }
    }
}